home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / rjs.lha / RJS / String / src / op_minus.C < prev    next >
C/C++ Source or Header  |  1991-06-14  |  539b  |  34 lines

  1. #include "String.h"
  2.  
  3. RJS_String RJS_String::operator-(int len) const
  4. {
  5.     RJS_String temp(*this);
  6.     return temp-=len;
  7. }
  8.  
  9. RJS_String RJS_String::operator-(char ch) const
  10. {
  11.     RJS_String temp(*this);
  12.     return temp-= ch;
  13. }
  14.  
  15. RJS_String RJS_String::operator-(const char *s) const
  16. {
  17.     RJS_String temp(*this);
  18.     return temp-=s;
  19. }
  20.  
  21. RJS_String RJS_String::operator-(const RJS_String &s) const
  22. {
  23.     RJS_String temp(*this);
  24.     return temp-=s;
  25. }
  26.  
  27. RJS_String RJS_String::operator-(const RJS_StringSearch &ss) const
  28. {
  29.     RJS_String temp(*this);
  30.     return temp-=ss;
  31. }
  32.  
  33.  
  34.